﻿using System;
using KCPExampleProtocal;
using PENet;

namespace KCPExampleClient
{
    public class ClientSession: KCPSession<NetMsg>
    {
        protected override void OnConnected()
        {
        }

        protected override void OnUpdate(DateTime now)
        {
        }

        protected override void OnReceiveMsg(NetMsg Msg)
        {
            KCPTool.ColorLog(KCPLogColor.Magentna,"Sid:{0},RcvServer:{1}",m_sid,Msg.info);
        }

        protected override void OnDisConnected()
        {
        }
    }
}